import Vue from 'vue'
import App from './App.vue'
// 引入Element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 5.0版本的echarts引入方法
import * as echarts from 'echarts'
import dataV from '@jiaminghi/data-view'
import router from './router'
import '@/styles/index.css'
// vue内置过渡标签的动画样式
import '@/styles/transition.scss'
// 引入Vuex
import store from './store'
// 引入自定义指令 v-permission
import '@/utils/permission.js'
// 引入Mock
import '../mock'
// 引入导航守卫
import './permission'

Vue.prototype.$echarts = echarts
Vue.use(ElementUI)
Vue.use(dataV)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
